#include <stdio.h>


int main(void)
{
	int esp;
	int ebp;
	
	asm("movl %%esp, %0" "\n\t" "movl %%ebp, %1"
		:"=r"(esp), "=r"(ebp)
		);
	
	printf("la valeur de esp est: %d \n",esp);
	printf("la valeur de ebp est: %d \n",ebp);
	
	
}
